package com.flushbonading.classsystem.service;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author zyx 2134208960@qq.com
 * @date 2021/11/9 17:56
 * @since 1.0.0
 */
@Component
public class FeignClientFallback implements ConfigService{

    @Override
    public List<Map> getConfig(String content) {
        List<Map> list = new ArrayList<>();
        list.add((Map) new HashMap<String, Object>().put("data","error"));
        return list;
    }
}
